<?php
/**
 *      [迷你云] (C)2009-2012 南京恒为网络科技.
 *   软件仅供研究与学习使用，如需商用，请访问www.miniyun.cn获得授权
 * 
 */
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="shortcut icon" href="<?php echo(Yii::app()->params['app']['host'].Yii::app()->params['app']['logoSmall']);?>" />
<title><?php echo CHtml::encode(Yii::app()->params["app"]["name"]); ?></title>
<meta name="keywords" content="<?php echo CHtml::encode(Yii::app()->name); ?>" />
<meta name="description" content="<?php echo CHtml::encode(Yii::app()->name); ?>" />
<link href="<?php echo Yii::app()->request->baseUrl; ?>/statics/site/css/style.css?v=<?php echo(Yii::app()->params['app']['version'])?>" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="<?php echo Yii::app()->request->baseUrl; ?>/statics/site/javascript/DD_belatedPNG.js?v=<?php echo(Yii::app()->params['app']['version'])?>"></script>
<script type="text/javascript">DD_belatedPNG.fix('img,.menu,a:hover');</script>
<script type="text/javascript" src="<?php echo Yii::app()->request->baseUrl; ?>/statics/site/javascript/jquery-min.js?v=<?php echo(Yii::app()->params['app']['version'])?>"></script>

<!--tab切换-->
<script type="text/javascript">
    function nTabs(thisObj,Num){
    if(thisObj.className == "chanpinjietu_top_hover")return;
        var tabObj = thisObj.parentNode.id;
        var tabList = document.getElementById(tabObj).getElementsByTagName("span");
        for(i=0; i <tabList.length; i++)
        {
            if (i == Num)
            {
               thisObj.className = "chanpinjietu_top_hover";
                document.getElementById(tabObj+"_Content"+i).style.display = "block";
            }else{
                tabList[i].className = "normal";
                document.getElementById(tabObj+"_Content"+i).style.display = "none";
            }
        }
    }
</script>

</head>

<body class="bg1">
<div class="yun">
<div class="container">
<div class="top"><a
	href="<?php echo Yii::app()->createUrl('site/login') ?>"
	target="_self" title="登录">登录</a> <?php if(Yii::app()->params['app']['enabledReigster']){?>
<a href="<?php echo Yii::app()->createUrl('site/register');?>"
	title="注册" target="_self">注册</a> <?php }?> <a
	href="<?php echo Yii::app()->createUrl('development/index'); ?>"
	title="API中心" target="_self">API中心</a></div>
<!-- top -->
<div class="menu_div"><img
	src="<?php echo Yii::app()->request->baseUrl.Yii::app()->params['app']['logo']; ?>"
	class="logo" /> <!-- logo -->
<ul class="menu">
	<li><a href="<?php echo Yii::app()->createUrl('site/index'); ?>/?r=site/index"target="_self">首页</a></li> 
	<?php if (!empty(Yii::app()->params['app']['mid'])){?>
    <li><a href="<?php echo Yii::app()->createUrl('site/download'); ?>" target="_self">客户端下载</a></li>
    <?php }?>
</ul>
<!-- menu --></div>
<!-- menu_div --> <!-- 动态变化的内容 --> <?php echo $content; ?> <!-- banner -->


<!-- home_neirong --> <!-- home_neirong -->
<div class="clear"></div>
</div>
<!-- container --></div>
<!-- yun -->
<div class="footer fl_le"><?php echo Yii::app()->params['app']['company']?> Power By <a href='http://www.miniyun.cn' target="_blank">Miniyun.cn</a>
</div>
<!-- footer -->
</body>
</html>
